(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/utility.h>
void ReleaseNamedObject()
SYNOPSIS
struct NamedObject * object

LOCATION
In UtilityBase at offset 43
FUNCTION
Releases a NamedObject that you previously obtained by calling FindNamedObject.

INPUTS
object
The NamedObject to release.
RESULT
The NamedObject will be released from your possession, and if it is ready to be deallocated, then the NamedObject will be freed.

NOTES
WARNING: You really should actually have found the NamedObject first (that is with FindNamedObject()) before calling this function. Failure to take heed of this will cause memory use problems.

EXAMPLE
struct NamedObject *nObj, *myNameSpace;

if( nObj = FindNamedObject( myNameSpace, "Some Name", NULL ) )
{
    \*
	Here you do whatever you want. However The NamedObject
	structure should generally be treated READ-ONLY
    *\

    ReleaseNamedObject( nObj );
}

BUGS
SEE ALSO
utility/name.h, utility/FindNamedObject()
INTERNALS
HISTORY
27.01.1997 digulla
Added #include <proto/exec.h>
27.01.1997 ldp
Polish
18.12.1996 iaint
NamedObjects